<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/layout.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix='c'%>
<c:if test="${empty sessionScope.tipoUsuario}">
	<c:redirect url="login.jsp"></c:redirect>
</c:if>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Sucesso!</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style4 {font-size: 36px}
-->
</style>
<!-- InstanceEndEditable -->
<link href="rules.css" rel="stylesheet" type="text/css" />
<link href="links_text.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style3 {color: #0099FF}
-->
</style>
</head>

<body>
<div id="container" style="border-width: 5px; border-style: solid; border-color: blue;background-color:#E8E8EA;">
  <div id="header"><img src="images/cabecalho.jpg" width="759" height="175" /></div>
  <div id="leftBar">
  	<c:if test="${sessionScope.tipoUsuario == 'AnalistaSistema'}">
  		<c:import url="menuAnalista.jsp"></c:import>
  	</c:if>
  	<c:if test="${sessionScope.tipoUsuario == 'Paciente'}">
  		<c:import url="menuPaciente.jsp"></c:import>
  	</c:if>
  	<c:if test="${sessionScope.tipoUsuario == 'Medico'}">
  		<c:import url="menuMedico.jsp"></c:import>
  	</c:if>
  	<c:if test="${sessionScope.tipoUsuario == 'Enfermeiro'}">
  		<c:import url="menuEnfermeiro.jsp"></c:import>
  	</c:if>
  	<c:if test="${sessionScope.tipoUsuario == 'Farmaceutico'}">
  		<c:import url="menuFarmaceutico.jsp"></c:import>
  	</c:if>
  </div>
  <div id="content">
  	<!-- InstanceBeginEditable name="content" -->
    <p>&nbsp;</p>
    <p align="center">
	<c:out value="${msgsucesso}"></c:out>
    <c:if test="${empty msgsucesso}">
    	${param.msgsucesso}
    </c:if>
	</p>
	<br /><br />
    <!-- InstanceEndEditable --> </div>
  <div id="footer">
    <div align="center">:::                         &copy; - 2009 - SISMED :::</div>
  </div>
</div>
</body>
<!-- InstanceEnd --></html>
